<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/system/tags" prefix="system"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>

	<table class="tab-show" style="width:98%;">
    	<col width="210">
        <tr>
	    	<th>
            	<label>页面id（权限标识）：</label>
        	</th>
         	<td>${model.pageId }</td>
		</tr>
        <tr>
	    	<th>
            	<label>页面Class：</label>
        	</th>
         	<td>${model.pageClass }</td>
		</tr> 
        <tr>
	    	<th>
            	<label>权限名称：</label>
        	</th>
         	<td>${model.name }</td>
		</tr>
		<tr>
	    	<th>
            	<label>类型：</label>
        	</th>
         	<td><c:if test="${model.type == 1 }">菜单</c:if>
			<c:if test="${model.type == 2 }">按钮</c:if>
		</tr>
        <tr>
	    	<th>
            	<label>链接：</label>
        	</th>
         	<td>${model.href }</td>
		</tr>
        <tr>
	    	<th>
            	<label>目标：</label>
        	</th>
         	<td><c:if test="${model.target == 'iframe' }">iframe</c:if><c:if 
         	test="${model.target == 'dialog' }">弹出窗</c:if><c:if 
			test="${model.target == '_blank' }">新页面</c:if>
         	</td>
		</tr>
        <tr>
	    	<th>
            	<label>图标：</label>
        	</th>
         	<td><c:if test="${not empty model.icon }"><img src="${ctxPath }/${model.icon}">[${model.icon}]</c:if></td>
		</tr>
        <tr>
	    	<th>
            	<label>颜色：</label>
        	</th>
         	<td>${model.color }</td>
		</tr>
		<tr>
	    	<th>
            	<label>权限类型：</label>
        	</th>
         	<td><c:if test="${model.permType == 0 }">不需要权限</c:if>
			<c:if test="${model.permType == 1 }">需要权限</c:if>
			<c:if test="${model.permType == 2 }">登录权限</c:if></td>
		</tr>
        <tr>
	    	<th>
            	<label>是否显示：</label>
        	</th>
         	<td><c:if test="${model.isShow == 1 }">显示</c:if>
			<c:if test="${model.isShow == 0 }">隐藏</c:if></td>
		</tr>
        <tr>
	    	<th>
            	<label>状态：</label>
        	</th>
         	<td><c:if test="${model.state == 0 }">正常</c:if>
			<c:if test="${model.state == -1 }">删除</c:if>
			<c:if test="${model.state == 2 }">停用</c:if>
			<c:if test="${model.state == 3 }">冻结</c:if></td>
		</tr>
        <tr>
	    	<th>
            	<label>备注信息：</label>
        	</th>
         	<td>${model.remarks }</td>
		</tr>
        </tr>
	    	<th>
            	<label>创建人：</label>
        	</th>
         	<td>${model.createName }</td>
		</tr>
        <tr>
	    	<th>
            	<label>创建时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.createTime }</td>
		</tr>
        <tr>
	    	<th>
            	<label>修改人：</label>
        	</th>
         	<td>${model.updateName }</td>
		</tr>
        <tr>
	    	<th>
            	<label>修改时间：</label>
        	</th>
         	<td class="shieldDatetime">${model.updateTime }</td>
		</tr>
    </table>

	
